Skip to content

ci: limit test workers and remove db:ensure dependency#490

Merged
graphite-app[bot] merged 1 commit intomainfrom
12-03-fix_test_add_maxworkers_and_remove_unnecessary_db_ensure
Dec 3, 2025
Merged

ci: limit test workers and remove db:ensure dependency#490
graphite-app[bot] merged 1 commit intomainfrom
12-03-fix_test_add_maxworkers_and_remove_unnecessary_db_ensure

Conversation

@jumski
Copy link
Copy Markdown
Contributor

@jumski jumski commented Dec 3, 2025

Limit test workers and remove unnecessary dependency

This PR makes two changes to improve test reliability and build efficiency:

  1. Added --maxWorkers=1 flag to vitest commands in the client package to prevent test flakiness by running tests sequentially
  2. Removed the db:ensure dependency from the test:unit command in the edge-worker package since unit tests don't require a database connection

These changes should help reduce test flakiness and improve build times by removing unnecessary dependencies.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 3, 2025

⚠️ No Changeset found

Latest commit: ae4d2b9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Contributor Author

jumski commented Dec 3, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge:queue - adds this PR to the back of the merge queue
  • hotfix:queue - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Dec 3, 2025

View your CI Pipeline Execution ↗ for commit ae4d2b9

Command Status Duration Result
nx affected -t verify-exports --base=origin/mai... ✅ Succeeded 3s View ↗
nx affected -t build --configuration=production... ✅ Succeeded 25s View ↗
nx affected -t lint typecheck test --parallel -... ✅ Succeeded 3m 45s View ↗
nx run edge-worker:e2e ✅ Succeeded 2m 47s View ↗
nx run cli:e2e ✅ Succeeded 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-03 17:32:12 UTC

@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Dec 3, 2025

Merge activity

# Limit test workers and remove unnecessary dependency

This PR makes two changes to improve test reliability and build efficiency:

1. Added `--maxWorkers=1` flag to vitest commands in the client package to prevent test flakiness by running tests sequentially
2. Removed the `db:ensure` dependency from the `test:unit` command in the edge-worker package since unit tests don't require a database connection

These changes should help reduce test flakiness and improve build times by removing unnecessary dependencies.
@graphite-app graphite-app Bot force-pushed the 12-03-fix_test_add_maxworkers_and_remove_unnecessary_db_ensure branch from 7a9d7a5 to ae4d2b9 Compare December 3, 2025 17:24
@graphite-app graphite-app Bot merged commit ae4d2b9 into main Dec 3, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant